/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package moduleView;

import java.util.Map;

import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Module</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link moduleView.Module#getComplexityIndex <em>Complexity Index</em>}</li>
 *   <li>{@link moduleView.Module#getIncludeResponsability <em>Include Responsability</em>}</li>
 *   <li>{@link moduleView.Module#getLinkImplements <em>Link Implements</em>}</li>
 * </ul>
 * </p>
 *
 * @see moduleView.ModuleViewPackage#getModule()
 * @model annotation="gmf.node label='name'"
 * @generated
 */
public interface Module extends NodeElement {
	/**
	 * Returns the value of the '<em><b>Complexity Index</b></em>' attribute.
	 * The default value is <code>"1"</code>.
	 * The literals are from the enumeration {@link moduleView.Type_Complexity_Index}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Complexity Index</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Complexity Index</em>' attribute.
	 * @see moduleView.Type_Complexity_Index
	 * @see #setComplexityIndex(Type_Complexity_Index)
	 * @see moduleView.ModuleViewPackage#getModule_ComplexityIndex()
	 * @model default="1"
	 * @generated
	 */
	Type_Complexity_Index getComplexityIndex();

	/**
	 * Sets the value of the '{@link moduleView.Module#getComplexityIndex <em>Complexity Index</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Complexity Index</em>' attribute.
	 * @see moduleView.Type_Complexity_Index
	 * @see #getComplexityIndex()
	 * @generated
	 */
	void setComplexityIndex(Type_Complexity_Index value);

	/**
	 * Returns the value of the '<em><b>Include Responsability</b></em>' containment reference list.
	 * The list contents are of type {@link moduleView.Responsability}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Include Responsability</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Include Responsability</em>' containment reference list.
	 * @see moduleView.ModuleViewPackage#getModule_IncludeResponsability()
	 * @model containment="true"
	 *        annotation="gmf.compartment layout='list' collapsible='true'"
	 * @generated
	 */
	EList<Responsability> getIncludeResponsability();

	/**
	 * Returns the value of the '<em><b>Link Implements</b></em>' reference list.
	 * The list contents are of type {@link moduleView.ModuleInterface}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Link Implements</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Link Implements</em>' reference list.
	 * @see moduleView.ModuleViewPackage#getModule_LinkImplements()
	 * @model annotation="gmf.link label='implements' target='target' style='dot' width='2'"
	 * @generated
	 */
	EList<ModuleInterface> getLinkImplements();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	boolean validateUniqueName(DiagnosticChain diagnostic, Map<Object, Object> context);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	boolean validateImplementsInterface(DiagnosticChain diagnostic, Map<Object, Object> context);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	boolean validateIncludeResponsability(DiagnosticChain diagnostic, Map<Object, Object> context);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	boolean validateContainerFC(DiagnosticChain diagnostic, Map<Object, Object> context);

} // Module
